import Sider from "./Sider"
import Message from "./Message"
import { useState } from "react"

const Chat = () => {
  const [title, setTitle] = useState("智能辅助决策")
  return (
    <div className="h-full w-full flex">
      <Sider onTitleChange={setTitle} />
      <Message title={title} />
    </div>
  )
}

export default Chat
